<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改渠道联登基本信息')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-Unionbaseinfo-edit" th:object="${channelUnionBaseInfo}" >
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">渠道编号：</label>
                <div class="col-sm-8">
                    <input name="channelCode" th:field="*{channelCode}" class="form-control" type="text" readonly>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">渠道名称：</label>
                <div class="col-sm-8">
                    <input name="channelName" th:field="*{channelName}" class="form-control" type="text" readonly>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">appKey：</label>
                <div class="col-sm-8">
                    <input name="appKey" th:field="*{appKey}" class="form-control" type="text" readonly>
                </div>
            </div>   <div class="form-group">
                <label class="col-sm-3 control-label is-required">状态：</label>
                <div class="col-sm-8">
                    <input name="status" th:field="*{status}" class="form-control" type="text" readonly>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">appSecret：</label>
                <div class="col-sm-8">
                    <input name="appSecret" th:field="*{appSecret}" class="form-control" type="text" readonly>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">pubKey：</label>
                <div class="col-sm-8">
                    <textarea name="pubKey" class="form-control" readonly>[[*{pubKey}]]</textarea>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">priKey：</label>
                <div class="col-sm-8">
                    <textarea name="priKey" class="form-control" readonly >[[*{priKey}]] </textarea>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">unionProdIds：</label>
                <div class="col-sm-8">
                    <input name="unionProdIds" th:field="*{unionProdIds}" class="form-control" type="text" readonly>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "extend/Unionbaseinfo";
      /*  $("#form-Unionbaseinfo-edit").validate({
            focusCleanup: true
        });
*/
    /*  function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-Unionbaseinfo-edit').serialize());
            }
        }*/
    </script>
</body>
</html>